package cn.com.xinjinfu.pdoulcProduct.manager;

/**
 * 常量
 * 
 * @author paul
 * 
 */
public class ConstantManager {
	/**
	 * 网络加载有关的what
	 * 如果同一个handle会处理多个请求结果。。会用1.2.3来表示。请求结果
	 * 
	 */
	public static final int FAIL_NO_NET = 1000;
	public static final int FAIL_SERVER_ERROR = 1001;
	public static final int FAIL_CODE_ERROR = 1002;
	public static final int LOADING = 1003;
	public static final int SUCCESS = 1004;
	
	public static final int ERROR = -9999;
	public static final int NONE = -1;
	public static final int ONE = 1;
	public static final int TWO = 2;
	public static final int THREE = 3;
	
	/**
	 * 数据传递时自定义Intent传值
	 */
	public static final String OPT = "opt";
	public static final String KEY = "key";
	public static final String VALUE = "value";
	

	/**
	 * 登录状态
	 */
	public static final int LOGIN_NO = 1;
	public static final int LOGIN_OK = 2;
	public static final int LOGIN_OK_1 = 3;
	public static final int LOGIN_OK_2 = 4;

	public static final int ErrorOne = -1;
	/** 单页列表长度  **/
	public static final int SINGLEPAGE_LENGTH = 10;

	public static final String USER_INFO = "user_info";
	
	public static final String USER_LIST = "user_list";

}
